package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 生成ppt
 * @TableName t_generate_ppt
 */
@TableName(value ="t_generate_ppt")
@Data
public class GeneratePpt implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;
    /**
     * 封面图片
     */
    @TableField(value = "coverImgSrc")
    private String coverImgSrc;

    /**
     * 生成的大纲outline
     */
    @TableField(value = "outline")
    private String outline;

    /**
     * 创建用户名
     */
    @TableField(value = "userName")
    private String userName;

    /**
     * 生成的ppt的url
     */
    @TableField(value = "pptUrl")
    private String pptUrl;
    /**
     * 任务查询id
     */
    @TableField(value = "sid")
    private String sid;
    /**
     * 状态（1草稿/2已发布/3下架/4等待中/5生成中/6失败
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 总页数
     */
    @TableField(value = "totalPage")
    private Integer totalPage;

    /**
     * 发布时间
     */
    @TableField(value = "publishTime")
    private Date publishTime;

    /**
     * 修改时间
     */
    @TableField(value = "editTime")
    private Date editTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}